package cn.edu.scau.cmi.linpeiwei.composite.safe;

public class SafeNode extends SafeComponent {
	private String name;
	public SafeNode(String name) {
		this.name = name;
	}
	@Override
	public String getName() {
		// TODO 自动生成的方法存根
		return name;
	}
	public String toString() {
		return name + "(树叶)";
	}
}

